import React from 'react';
import { observer } from 'mobx-react-lite';
import { Table } from 'choerodon-ui/pro';
import { useWorkGroupStore } from '@/routes/work-group/stores';
import { columns } from './columns';
import Styles from './index.less';

const UserTable = () => {
  const {
    tableDs,
  } = useWorkGroupStore();

  return (
    <Table dataSet={tableDs} className={Styles.userTable} columns={columns} />
  );
};

export default observer(UserTable);
